

package cn.shengchao.examstar.comment.acl.ports.repositories;

import cn.shengchao.examstar.comment.acl.ports.repositories.message.CommentListDto;
import cn.shengchao.examstar.comment.domain.entity.ProductComment;

import java.util.List;

public interface IProductCommentRepository {
    void save(ProductComment productComment);

    List<CommentListDto> getCommentByProductId(long productId);
}
